      <span id="<%=container_id + "_action"%>">
        <%=link_to_remote image_tag("add_icon.gif",:border=>0),:loading=>"Element.show('indicator_#{container_id}')",:url=>{:action=>'per_action',:container_id=>container_id}%>
      </span>
      <%=indicator(container_id)%>
      <%@cur_user.company.roles.select{|role| role.has_static_permission?(container_id)}.each do |role|%>
      <li class=pm_item>
      <div>
	<span style="float:right"><%=link_to_remote "x",{:loading=>"Element.show('indicator_#{container_id}')",:url=>{:action=>'remove_permission',:container_id=>container_id,:role_id=>"r_" + role.id.to_s}},{:class=>'admin'}%></span>
        <%=role.identifier%> 
	</div>
      </li>
      <%end%>

      <%@cur_user.company.users.select{|user| user.roles.select{|r| r.identifier.match("custom") and r.has_static_permission?(container_id)}.size > 0 }.each do |user|%>
      <li class="pm_item">
       <div>
	<span style="float:right"><%=link_to_remote "x",{:loading=>"Element.show('indicator_#{container_id}')",:url=>{:action=>'remove_permission',:container_id=>container_id,:role_id=>"u_" + user.id.to_s}},{:class=>'admin'}%></span>
        <%=user.name%> 
       </div>
      </li>
      <%end%>
